﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using Assessment.Management.SharedComponent.Params.MenuManagers;
using Assessment.Management.DAO.AdminManagers;

namespace Assessment.Management.BIZ
{
    public class AccountBIZ
    {
        public void GetAccount(AccountParam param)
        {
            var dao = new AccountDAO();
            dao.GetAccount(param);
        }
        public void GetPermission(AccountParam param)
        {
            var dao = new AccountDAO();
            dao.GetPermission(param);
        }
        public void CheckExitsAccData(AccountParam param)
        {
            var dao = new AccountDAO();
            dao.CheckExitsAccData(param);
        }
        public void CheckAccount(AccountParam param)
        {
            var dao = new AccountDAO();
            dao.CheckAccount(param);
        }
        public void GetAccountToEditByCode(AccountParam param)
        {
            var dao = new AccountDAO();
            dao.GetAccountToEditByCode(param);
        }
        public void UpdateAccount(AccountParam param)
        {
            var dao = new AccountDAO();
            dao.UpdateAccount(param);
        }
        public void CreateAccount(AccountParam param)
        {
            var dao = new AccountDAO();
            dao.CreateAccount(param);
        }
        public void DeleteAccounts(AccountParam param)
        {
            var dao = new AccountDAO();
            dao.DeleteAccounts(param);
        }
        public void GetLastAccountCode(AccountParam param)
        {
            var dao = new AccountDAO();
            dao.GetLastAccountCode(param);
        }
    }
}
